package cn.wolfcode.business.service;

import cn.wolfcode.business.domain.BusCarPackageAudit;
import cn.wolfcode.business.domain.vo.CarPackageAuditIVO;
import cn.wolfcode.business.domain.vo.HistoryVo;
import org.springframework.stereotype.Service;

import java.io.InputStream;
import java.util.List;

@Service
public interface IBusCarPackageAuditService {
    List<BusCarPackageAudit> selectBusCarPackageAuditList(BusCarPackageAudit busCarPackageAudit);

    void insert(BusCarPackageAudit busCarPackageAudit);

    void update(BusCarPackageAudit busCarPackageAudit);

    InputStream processImg(Long instanceId);

    int deleteBusCarPackageAuditById(Long id);

    List<HistoryVo> selectHistoryList(Long instanceId);

    List<BusCarPackageAudit> selecttodoTaskList(BusCarPackageAudit busCarPackageAudit);

    int audit(CarPackageAuditIVO carPackageAuditIVO);

    List<BusCarPackageAudit> selectDoneTask(BusCarPackageAudit busCarPackageAudit);
}
